package com.forum.entity.view;

import com.forum.entity.SubjectCoursesTabEntity;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

/**
 * @ClassNameSubjectCoursesView
 * @Author Lenovo
 * @Date 2023/11/26 22:51
 */
public class SubjectCoursesView extends SubjectCoursesTabEntity implements Serializable {
    public SubjectCoursesView(){

    }

    public SubjectCoursesView(SubjectCoursesTabEntity subjectCoursesTabEntity){
        try{
            BeanUtils.copyProperties(this,subjectCoursesTabEntity);
        }catch (IllegalAccessException |InvocationTargetException e) {
            e.printStackTrace();
        }
    }
}
